package com.tc.nio;

import java.nio.ByteBuffer;

/**
 * @Auther: tianchao
 * @Date: 2022/1/30 09:11
 * @Description:
 */
public class TestByteBufferAllocate {
    public static void main(String[] args) {
        System.out.println(ByteBuffer.allocate(16).getClass());
        System.out.println(ByteBuffer.allocateDirect(16).getClass());
    }
}
